<?PHP $this->_extends('_layouts/manager_layout');?>
<?PHP $this->_block('contents');?>
<style>
table th,table td{text-align:center;}
</style>
<h2 class="aa1">sitemap 网站栏目</h2>
<form action="" method="post" >
<table>
	<tr>
		<th width="40">序</th>
		<th width="100">名</th>
		<th width="300">Url</th>
		<th width="40">状</th>
		<th width="40"></th>
	</tr>
	<?php foreach($sitemap as $m):?>
	<tr>
		<td><input type="text" name="sort[<?=$m->id?>]"  value="<?=$m->sort?>" size="3" maxlength="4" /> </td>
		<td><?=$m->name?></td>
		<td><?=$m->url?></td>
		<td> <?=(($m->status&1)?'显 V':'隐 X')?> </td>
		<td> <a href="<?=url('storemanager/sitemapedit',array('id'=>$m->id))?>" title="Edit" >E</a>
		<a href="<?=url('storemanager/sitemapremove',array('id'=>$m->id))?>" onclick="return confirm('confirm to delete ?')" title="Remove">R</a>
		</td>
     </tr>
	<?php endforeach;?>
</table>
	<div><input type="submit" value="submit" /></div>
</form>
<br style="clear:both">
<a href="<?php echo url('storemanager/sitemapedit')?>" classs="anniu">添加 网站栏目</a><br><br>


<?PHP $this->_endblock();?>

